package com.lh.runmanage.service;

import com.lh.runmanage.model.InPutParam.ActiveInParam;

/**
 * @author ：梁昊，后端工程师：梁昊
 * @create 2021-07-13 15:20
 * @function
 * @editLog
 */
public interface ActiveService {
    <T> String getSeparateTableNo(T id, Class<T> tClass);
    /**
     * 接收上传数据
     *
     * @param activeInParam com.lh.runmanage.model.InPutParam.ActiveInParam
     * @return 影响条数
     */
    int insertActive(ActiveInParam activeInParam);

    /**
     * 接收上传数据
     *
     * @param activeInParam com.lh.runmanage.model.InPutParam.ActiveInParam
     * @return 影响条数
     */
    int insertActiveBeforeCheck(ActiveInParam activeInParam);
    /**
     * 删除历史数据
     *
     * @param activeInParam com.lh.runmanage.model.InPutParam.ActiveInParam
     * @return 影响条数
     */
    int deleteActiveFromCreate(ActiveInParam activeInParam);

}